﻿<UserControl x:Class="EFS.RC.Wallboard.Controls.Endpoints.Customer.ThirdGroup.Main"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:Charts="clr-namespace:EFS.RC.Wallboard.Controls.Common.Charts.Bars"
             mc:Ignorable="d"
			 Background="#FFFFFF" d:DesignWidth="300" d:DesignHeight="300">

	<DockPanel Margin="0,0,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
		<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
			<Grid.RowDefinitions>
				<RowDefinition Height="20*"></RowDefinition>
				<RowDefinition Height="60*"></RowDefinition>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"></ColumnDefinition>
			</Grid.ColumnDefinitions>

			<Grid Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
				<Grid.RowDefinitions>
					<RowDefinition Height="20*"></RowDefinition>
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="10*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Viewbox Grid.Row="0" Grid.Column="0" Height="Auto" Margin="0" HorizontalAlignment="Right" VerticalAlignment="Top">
					<!-- The image and its contents are stretched to fill its parent -->
					<Image HorizontalAlignment="Right" Margin="5,5,5,5" Name="imageRing" Stretch="Fill" VerticalAlignment="Center" Width="10" Source="/EFS.RC.Wallboard;component/Resources/Images/ringgreen.png" />
				</Viewbox>
			</Grid>

			<Grid Grid.Row="1" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Stretch" Margin="5">
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
					<RowDefinition Height="Auto"></RowDefinition>
					<RowDefinition Height="Auto"></RowDefinition>
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>

				<!-- Bars -->
				<Grid Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Stretch" Margin="45,0,45,0">
					<Grid.RowDefinitions>
						<RowDefinition Height="*"></RowDefinition>
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="60*"></ColumnDefinition>
						<ColumnDefinition Width="5*"></ColumnDefinition>
						<ColumnDefinition Width="60*"></ColumnDefinition>
						<ColumnDefinition Width="5*"></ColumnDefinition>
						<ColumnDefinition Width="60*"></ColumnDefinition>
						<ColumnDefinition Width="5*"></ColumnDefinition>
						<ColumnDefinition Width="60*"></ColumnDefinition>
					</Grid.ColumnDefinitions>
					<Viewbox Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
						<Charts:SingleBar x:Name="controlSingleBarFree" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="50"  BarColor="#6699B0" Title="Free" />
					</Viewbox>
					<Viewbox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
						<TextBlock Text="" Width="5" Margin="0" Padding="0"></TextBlock>
					</Viewbox>
					<Viewbox Grid.Row="0" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" >
						<Charts:SingleBar x:Name="controlSingleBarLogin" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="50" BarColor="#ADD43B" Title="Login" />
					</Viewbox>
					<Viewbox Grid.Row="0" Grid.Column="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
						<TextBlock Text="" Width="5" Margin="0" Padding="0"></TextBlock>
					</Viewbox>
					<Viewbox Grid.Row="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" >
						<Charts:SingleBar x:Name="controlSingleBarBusy" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="50" BarColor="#FEBA00" Title="Busy" />
					</Viewbox>
					<Viewbox Grid.Row="0" Grid.Column="5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
						<TextBlock Text="" Width="5" Margin="0" Padding="0"></TextBlock>
					</Viewbox>
					<Viewbox Grid.Row="0" Grid.Column="6" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" >
						<Charts:SingleBar x:Name="controlSingleBarInWrap" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="50" BarColor="#6666CC" Title="In Wrap" />
					</Viewbox>
				</Grid>

				<Grid Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
					<Viewbox HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
						<Border Margin="25,0,25,0" BorderThickness="0" BorderBrush="#4D4D4D" Background="#4D4D4D" CornerRadius="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="350" Height="5"></Border>
					</Viewbox>
				</Grid>

				<Viewbox Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
					<TextBlock TextAlignment="Center"  HorizontalAlignment="Center" Margin="0,1,0,1" TextWrapping="NoWrap" Text="Agent Status" VerticalAlignment="Stretch" Foreground="Black" FontWeight="Bold" Width="180" />
				</Viewbox>
			</Grid>
		</Grid>
	</DockPanel>
</UserControl>